﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="user.ascx.cs" Inherits="TrangSucShop.usercontrol.user" %>
<asp:ScriptManager ID="sm1" runat="server"></asp:ScriptManager>
<asp:MultiView ID="mtv1" runat="server">
<asp:View runat="server"  ID="edit">
<table style="width:100%;">
    <tr>
        <td colspan="3">
            <div class="title">
                    <span class="title_icon">
                        <img src="images/Profile.ico" alt="" title="" height="25" width="25" /></span><asp:Label 
                        ID="lbcommand" runat="server" Text="Thông Tin Cá Nhân"></asp:Label>
            </div>&nbsp;</td>
    </tr>
  
    <tr>
        <td colspan="3">
            <asp:Label ID="Label6" runat="server" Font-Italic="True" ForeColor="Red"></asp:Label>
        </td>
    </tr>
  
    <tr>
        <td>
            Họ &amp; Tên:</td>
        <td>
            <asp:TextBox ID="txtHoTen" runat="server" Width="100%"></asp:TextBox>
        </td>
        <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="txtHoTen" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    </td>
    </tr>
    <tr>
        <td>
            Địa chỉ:</td>
        <td>
            <asp:TextBox ID="txtDiaChi" runat="server"  
                TextMode="MultiLine" Width="100%"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Email:</td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" style="height: 22px" Width="100%"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Số điện thoại:</td>
        <td>
            <asp:TextBox ID="txtSoDT" runat="server" 
                Width="100%"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
     <tr>
                    <td>
                        Số tài khoản:</td>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server" Width="100%"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="TextBox1" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                     </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                            ControlToValidate="TextBox1" ErrorMessage="Số tài khoản không phù hợp" 
                            ValidationExpression="[0-9]{10}"></asp:RegularExpressionValidator>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
    <tr>
        <td>
            <asp:Label ID="lbID" runat="server" Text="Label" Visible="False"></asp:Label>
            <asp:Label ID="lbMa" runat="server" Text="Label" Visible="False"></asp:Label>
        </td>
        <td align="right">
            <asp:Button ID="btdongy" runat="server" Text="Đồng Ý" onclick="btdongy_Click" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
</table>
</asp:View>

<asp:View runat="server"  ID="pass">
    <table style="width:100%;">
        <tr>
            <td colspan="3"><div class="title">
                    <span class="title_icon">
                        <img src="images/Profile.ico" alt="" title="" height="25" width="25" /></span><asp:Label 
                        ID="Label4" runat="server" Text="Đổi Mật Khẩu"></asp:Label>
            </div>
                &nbsp;</td>
        </tr>
        <tr>
            <td valign="top" colspan="3">
                <asp:Label ID="Label5" runat="server" Font-Italic="True" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td valign="top">
                Mật Khẩu Cũ:</td>
            <td>
            
                <asp:TextBox ID="TextBox8" runat="server" TextMode="Password" Width="100%"></asp:TextBox>
  
            
                
            </td>
            <td valign="top">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                            ControlToValidate="TextBox8" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Mật Khẩu Mới:</td>
            <td>
                <asp:TextBox ID="TextBox9" runat="server" TextMode="Password" Width="100%"></asp:TextBox>
            </td>
            <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                            ControlToValidate="TextBox9" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Xác Nhận Mật Khẩu:</td>
            <td>
                <asp:TextBox ID="TextBox10" runat="server" Width="100%" TextMode="Password"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToCompare="TextBox9" ControlToValidate="TextBox10" 
                            ErrorMessage="Xác nhận mật khẩu không đúng"></asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="right">
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Đồng Ý" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </asp:View>
</asp:MultiView>